<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;  
use Illuminate\Support\Facades\Log;  
use App\Models\Camera;
use App\Models\CarRecord;
use App\Models\AdminUser;
use App\Models\Feature;
use App\Models\Module;

class AdminController extends Controller
{
    public function admin_users()
    {
        return AdminUser::get(['id', \DB::raw('name as text')]);
    }
    public function admin_users_array()
    {
        return AdminUser::pluck('name', 'id')->all();
    }
}
